@section('title')
    我的律师 @parent
@show

@section('content')
{{ HTML::style('css/center.css')}} 
{{ HTML::script('js/center/center.js') }}
{{ HTML::script('js/center/question/replied.js') }}
{{ HTML::script('js/center/customer/question.js') }}
<!-- 律師-用户中心 -->
<div class="userInfo">
	<div class="w">
		<div class="container">
	    	<div id="content">

<div id="sub"> 
   <!--左侧导航栏--> 
    <div id="menu">

		<dl class="fore4">
			<dt id="">
			    我的咨询
			</dt>
			<dd class="fore4_1 @if (Route::is('center.lawyer.question.new')) curr @endif" id="advisory-whf">
			    <a href="{{ route('center.lawyer.question.new') }}" target="_self">
			        待受理
			    </a>
			</dd>
			<dd class="fore4_3 @if (Route::is('center.lawyer.question.replied')) curr @endif" id="advisory-yhf">
			    <a href="{{ route('center.lawyer.question.replied') }}" target="_self">
			        待确认
			    </a>
			</dd>
			<dd class="fore4_3 curr" id="advisory-yhf">
			    <a href="{{ route('center.lawyer.question.complete') }}" target="_self">
			        已完成
			    </a>
			</dd>
		</dl>
	</div>
</div>
<!-- 我的律师已回复 -->
<div id="mainUserInfo">
<div class="mod-main mod-comm lefta-box">
	<div class="mt">
    	<h3 class="curr">查看评论</h3>  
    </div>
    <div class="mc" style="font-size:20px;line-height: 36px;">
    	
    	<p>综合评分：
    		<label class="evaluation">
				<span class="starry"></span>
           </label><span style="color:red;">{{$data['evaluate_score']}}</span>分
        </p>
    	<p><span>服务感受： </span><span style="width:900px;">{{ $data['content'] }}</span></p>
    </div>
    {{ Form::token() }}
</div>	
</div> 

</div>
		</div>
	</div>
</div>
<script type="text/javascript">
var jumpUrl = "{{ Config::get('app.url') }}";
var star = "{{$data['evaluate_score']}}";
//评论星星
	var str=""
	for (var i=0; i<star; i++) {
	str+='<img src="'+jumpUrl+'/img/star-on.png">'
	}
	for (var i=0; i<5-star; i++) {
	str+='<img src="'+jumpUrl+'/img/star-off.png">'
	}
	$(".evaluation .starry").append(str)
</script>
@show